package com.bdbit.ChargingStation.event;

/**
 * 断电事件
 */
public class PowerOutageEvent extends ChargingEvent {
    
    private final String orderId;
    private final String eleCode;
    
    public PowerOutageEvent(Object source, String orderId, String eleCode) {
        super(source);
        this.orderId = orderId;
        this.eleCode = eleCode;
    }
    
    public String getOrderId() {
        return orderId;
    }
    
    public String getEleCode() {
        return eleCode;
    }
    
    @Override
    public String getEventType() {
        return "POWER_OUTAGE";
    }
} 